﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Entity = Savico.Library.Entity;
using Business = Savico.Library.Business;
using System.IO;
using Savico.Library.Commom.Module;

public partial class templates_client_usercontrols_business_scope : System.Web.UI.UserControl
{
    Entity.LinhVucKinhDoanh entityLinhVucKinhDoanh = new Entity.LinhVucKinhDoanh();
    Business.LinhVucKinhDoanh businessLinhVucKinhDoanh = new Business.LinhVucKinhDoanh();
    protected void Page_Load(object sender, EventArgs e)
    {
        entityLinhVucKinhDoanh.IdLinhVuc = Convert.ToInt32(Request.QueryString["linhvuc"].ToString());
        entityLinhVucKinhDoanh.NgonNgu = Request.QueryString["lang"].ToString();
        if (!IsPostBack)
        {            
            lbLinhVuc.Text = businessLinhVucKinhDoanh.SelectPrimarykey(entityLinhVucKinhDoanh).Rows[0]["TenLinhVuc"].ToString();
        }
    }
}
